package com.zeyi.chat.manager;

import com.zeyi.chat.dto.Chat;
import com.zeyi.chat.po.User;

/**
 * @author zeyi
 */
public class UserManager {
    private static User user;
    private static Chat chat;

    public static User getCurrentUser() {
        return user;
    }

    public static void setCurrentUser(User user) {
        UserManager.user = user;
    }

    public static Chat getChat() {
        return chat;
    }

    public static void setChat(Chat chat) {
        UserManager.chat = chat;
    }
}
